package com.hp.service.impl;

import com.hp.entity.Effect;
import com.hp.mapper.EffectMappe;
import com.hp.service.EffectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class EffectServiceImpl implements EffectService {
    @Resource
    EffectMappe effectMappe;


    /**
     * 添加
     */
    @Override
    public int add(Effect effect) {
        return effectMappe.add(effect);
    }
}
